﻿namespace AspnetUtil.Web.Exceptions
{
    public class DomainException : System.Exception
    {
        public int Code { get; set; }
        public new string Message { get; set; }


        public override string ToString()
        {
            return $"Exception: Code: {this.Code}, Message: {this.Message}";
        }
    }
}